﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;

namespace MaxStudio.Concrete.Server.Interface
{
    interface IProductOrder
    {
        OperationResult<List<tb_ProductOrder>> GetAllProductOrder();
        OperationResult<tb_ProductOrder> GetProductOrderById(int id);
        OperationResult<tb_ProductOrder> GetProductOrderBySalesOrderId(int salesOrderId);
        OperationResult<tb_ProductOrder> CreateProductOrder(tb_ProductOrder entity);
        OperationResult<tb_ProductOrder> ModifyProductOrder(tb_ProductOrder entity);
        OperationResult<tb_ProductOrder> DeleteProductOrder(tb_ProductOrder entity); 
    }
}
